#ifndef DISPLAYCONTROLLER_H
#define DISPLAYCONTROLLER_H

#include <vector>
#include "History.h"
#include "ContinousDisplay.h"
#include "Thread.h"

class DisplayController : public Thread
{
private:
	ContinousDisplay _continousDisplay;
	void run();

	vector<History*> _histories;
	int _timeScale;

public:
	DisplayController();
	void addHistory(History* pHistory);
	void setTimeScale(int timeScale);
	void showDisplay();

	void Redraw();
};

#endif
